package com.sky.constant;

/**
 * 微信登录配置类
 *
 * @Author mr.lcc
 * @Data 2025/5/23 21:34
 */
public class WeChatConstant {

    /**
     * 小程序登录：获取openId的请求地址
     */
    public static final String GET_OPEN_ID_URL = "https://api.weixin.qq.com/sns/jscode2session";

    /**
     * 小程序获取用户手机号前准备：获取接口调用凭证的请求地址
     */
    public static final String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token";

    /**
     * 获取手机号的请求地址
     */
    public static final String POST_GET_PHONE_NUM_URL = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=";

}
